{include file="header.htm"}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$title}</title>
</head>
<body>
	<div  align="left" class="foot">
    <div class="top">欢迎你！管理员{$my.user_nick} [<a href="{url _a=Login _m=Logout returl=$returl}">{$L.EXIT}</a>]</li></div>
	<div class="content-box-content">
<form action="{url _m=maosave}" method="post">
用户ID:*<br />
<input type="text" name="userid" value="{$m.command_userid}" /><br />
注册接口:*<br />
<input type="text" name="maourl" value="{$m.command_uri}" /><br />
通信密令:*<br />
<input type="text" name="maokey" value="{$m.command_key}" /><br />
短信指令:*<br />
<input type="text" name="maomsg" value="{$m.command_content}"/><br /> 
指令状态:
<select name="status">
	<option value="1" {if $m.command_status eq 1}selected{/if}>正常</option>
	<option value="2" {if $m.command_status eq 2}selected{/if}>停用</option>
</select><br />
到期时间:*<br />
<select name="year">
{foreach from=$years item=year}
<option value="{$year}" {if $expi[0] eq $year}selected{/if}>{$year}</option>
{/foreach}
</select>年<select name="mthon">
    {foreach from=$months item=month}
    <option value="{$month}" {if $expi[1] eq $month}selected{/if}>{$month}</option>
    {/foreach}
</select>月<select name="day">
    {foreach from=$days item=day}
    <option value="{$day}" {if $expi[2] eq $day}selected{/if}>{$day}</option>
    {/foreach}
</select>日
<br />
<input type="hidden" name="maoid" value="{$m.command_id}" />	
<input type="submit" value="提交" class="button"/>
 </form>  
	</div>
[<a href="{url _a=admin _m=index}">后台首页</a>] [<a href="{url _a=admin _m=MaoList}">指令管理</a>]
{include file="footer.htm"}
	</div>
</body>
</html>